
/* Fonts */

@font-face {
    font-family: 'RobotoRegular';
    src: url('../fonts/roboto-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* General Style */

ul {
	list-style:none;
}

h1,h3 {
	font-size:100%;
	font-weight:normal;
}

body {
	background: #000;
	font-weight: 400;
	font-size: 15px;
	color: #aa3e03;
	overflow-y: scroll;
	overflow-x: hidden;
}

.titlebox {
	position: relative;
	text-align: center;
	padding: 30px 30px 10px 20px;
	margin: 0px 20px 10px 20px;
	display: block;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    text-align: left;
}

.titlebox > h1{
	font-family: 'RobotoRegular';
	font-size: 35px;
	line-height: 35px;
	position: relative;
	font-weight: 400;
	color: #fff;
	text-shadow: 5px 5px 3px rgba(0,0,0,1);
    padding: 0px 0px 5px 0px;
}

/* Style of SlideShow */

.slideshow,
.slideshow:after {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
}

.slideshow:after {
    content: '';
    background: transparent url(../images/pattern.png) repeat top left;
}

.slideshow li span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
	-webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 36s linear infinite 0s;    
}

.slideshow li div {
    z-index: 1000;
    position: absolute;
    bottom: 30px;
    left: 0px;
    width: 100%;
    text-align: center;
    text-shadow: 5px 5px 3px rgba(0,0,0,1);
    opacity: 0;
    -webkit-animation: titleAnimation 36s linear infinite 0s; 
}

.slideshow li div h3 {
    font-family: 'RobotoRegular'; 
    font-size: 100px;
    padding: 0 30px;
    line-height: 120px;
    color: rgba(255,255,255,0.8);
    background-color: rgba(0,0,0, 0.7);
}

.slideshow li:nth-child(1) span { background-image: url(../images/helix_nebula.jpg) }
.slideshow li:nth-child(2) span {
    background-image: url(../images/horsehead_nebula.jpg);
    -webkit-animation-delay: 6s;
}
.slideshow li:nth-child(3) span {
    background-image: url(../images/carina_nebula.jpg);
    -webkit-animation-delay: 12s;
}
.slideshow li:nth-child(4) span {
    background-image: url(../images/milkway.jpg);
    -webkit-animation-delay: 18s;
}
.slideshow li:nth-child(5) span {
    background-image: url(../images/spiral_galaxy.jpg);
    -webkit-animation-delay: 24s;
}
.slideshow li:nth-child(6) span {
    background-image: url(../images/celestial_conjunction.jpg);
    -webkit-animation-delay: 30s;
}
.slideshow li:nth-child(2) div {
    -webkit-animation-delay: 6s;
}
.slideshow li:nth-child(3) div {
    -webkit-animation-delay: 12s;
}
.slideshow li:nth-child(4) div {
    -webkit-animation-delay: 18s;
}
.slideshow li:nth-child(5) div {
    -webkit-animation-delay: 24s;
}
.slideshow li:nth-child(6) div {
    -webkit-animation-delay: 30s;
}
@-webkit-keyframes imageAnimation { 
	0% {
	    opacity: 0;
	    -webkit-animation-timing-function: ease-in;
	}
	8% {
	    opacity: 1;
	    -webkit-transform: scale(1.05);
	    -webkit-animation-timing-function: ease-out;
	}
	17% {
	    opacity: 1;
	    -webkit-transform: scale(1.1);
	}
	22% {
		opacity: 0;
		-webkit-transform: scale(1.1) translateY(-20%);
	}
	25% {
	    opacity: 0;
	    -webkit-transform: scale(1.1) translateY(-100%);
	}
	100% { opacity: 0 }
}

@-webkit-keyframes titleAnimation {
	0% {
	    opacity: 0;
	    /* -webkit-transform: translateY(-300%); */
	}
	8% {
	    opacity: 1;
	    /* -webkit-transform: translateY(0%); */
	}
	17% {
	    opacity: 1;
	    /* -webkit-transform: translateY(0%); */
	}
	19% {
	    opacity: 0;
	    /* -webkit-transform: translateY(100%); */
	}
	25% { opacity: 0 }
	100% { opacity: 0 }
}
 